.Net Framework > v1.1.4322 > System > Diagnostics > EventLog > WriteEntry WriteEntry(String)
WriteEntry(String,EventLogEntryType)
WriteEntry(String,EventLogEntryType,Int32)
WriteEntry(String,EventLogEntryType,Int32,Int16)
WriteEntry(String,EventLogEntryType,Int32,Int16,Byte[])
WriteEntry(String,String)
WriteEntry(String,String,EventLogEntryType)
WriteEntry(String,String,EventLogEntryType,Int32)
WriteEntry(String,String,EventLogEntryType,Int32,Int16)
WriteEntry(String,String,EventLogEntryType,Int32,Int16,Byte[])


WriteEntry(String)

Category
Method
Description
Writes an information type entry, with the given message text, to the event log.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,EventLogEntryType)

Category
Method
Description
Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
typeEventLogEntryType
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,EventLogEntryType,Int32)

Category
Method
Description
Writes an entry with the given message text and application-defined event identifier to the event log.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
typeEventLogEntryType
eventIDInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,EventLogEntryType,Int32,Int16)

Category
Method
Description
Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
typeEventLogEntryType
eventIDInt32
categoryInt16
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,EventLogEntryType,Int32,Int16,Byte[])

Category
Method
Description
Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, and appends binary data to the message.
Type
void
Character
public
Parameters
NameTypeDescription
messageString
typeEventLogEntryType
eventIDInt32
categoryInt16
rawDataByte[]
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,String)

Category
Method
Description
Writes an information type entry with the given message text to the event log, using the specified registered event source.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceString
messageString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,String,EventLogEntryType)

Category
Method
Description
Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log, using the specified registered event source.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceString
messageString
typeEventLogEntryType
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,String,EventLogEntryType,Int32)

Category
Method
Description
Writes an entry with the given message text and application-defined event identifier to the event log, using the specified registered event source.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceString
messageString
typeEventLogEntryType
eventIDInt32
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,String,EventLogEntryType,Int32,Int16)

Category
Method
Description
Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, using the specified registered event source. The can be used by the event viewer to filter events in the log.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceString
messageString
typeEventLogEntryType
eventIDInt32
categoryInt16
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WriteEntry(String,String,EventLogEntryType,Int32,Int16,Byte[])

Category
Method
Description
Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log (using the specified registered event source) and appends binary data to the message.
Type
void
Character
public, static
Parameters
NameTypeDescription
sourceString
messageString
typeEventLogEntryType
eventIDInt32
categoryInt16
rawDataByte[]
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database